|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
raar.exception.RAException
raar.language.compiler.RACompilerException
public class RACompilerException
Exception thrown by the various methods of the Compiler. Internally catched and converted to an RAException. However the extra code fragment option enables the compiler to give a more specific error message, especially the line of code in which the error occured.
| Constructor Summary | |
|---|---|
RACompilerException(java.lang.String e,
java.lang.String codeFragment,
int lineOfError)
Construct an exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCodeFragment()
Get code fragment that is wrong. |
int |
getLineOfError()
Get line in which the error is present. |
java.lang.String |
getMessage()
Get error message. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RACompilerException(java.lang.String e,
java.lang.String codeFragment,
int lineOfError)
| Method Detail |
|---|
public java.lang.String getCodeFragment()
public int getLineOfError()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||